package com.zxc.model;

import java.util.List;

public class Tools {

    private List<Page> pageList;
    //农具表
    private String id;
    private String toolsName;
    private Float toolsNum;
    private String toolsUse;
    private String toolsBrand;
    private Float toolsPrice;
    private String toolsProducers;
    private String toolsProducersPhone;
    private String imageUrl;
    //当对象为用户仓库时，新增2个属性：用户的主键，主仓库的主键
    private String userId;
    private String rootId;

    public Tools() {
    }

    public Tools(List<Page> pageList, String id, String toolsName, Float toolsNum, String toolsUse, String toolsBrand, Float toolsPrice, String toolsProducers, String toolsProducersPhone, String imageUrl, String userId, String rootId) {
        this.pageList = pageList;
        this.id = id;
        this.toolsName = toolsName;
        this.toolsNum = toolsNum;
        this.toolsUse = toolsUse;
        this.toolsBrand = toolsBrand;
        this.toolsPrice = toolsPrice;
        this.toolsProducers = toolsProducers;
        this.toolsProducersPhone = toolsProducersPhone;
        this.imageUrl = imageUrl;
        this.userId = userId;
        this.rootId = rootId;
    }

    public List<Page> getPageList() {
        return pageList;
    }

    public void setPageList(List<Page> pageList) {
        this.pageList = pageList;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getToolsName() {
        return toolsName;
    }

    public void setToolsName(String toolsName) {
        this.toolsName = toolsName;
    }

    public Float getToolsNum() {
        return toolsNum;
    }

    public void setToolsNum(Float toolsNum) {
        this.toolsNum = toolsNum;
    }

    public String getToolsUse() {
        return toolsUse;
    }

    public void setToolsUse(String toolsUse) {
        this.toolsUse = toolsUse;
    }

    public String getToolsBrand() {
        return toolsBrand;
    }

    public void setToolsBrand(String toolsBrand) {
        this.toolsBrand = toolsBrand;
    }

    public Float getToolsPrice() {
        return toolsPrice;
    }

    public void setToolsPrice(Float toolsPrice) {
        this.toolsPrice = toolsPrice;
    }

    public String getToolsProducers() {
        return toolsProducers;
    }

    public void setToolsProducers(String toolsProducers) {
        this.toolsProducers = toolsProducers;
    }

    public String getToolsProducersPhone() {
        return toolsProducersPhone;
    }

    public void setToolsProducersPhone(String toolsProducersPhone) {
        this.toolsProducersPhone = toolsProducersPhone;
    }

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRootId() {
        return rootId;
    }

    public void setRootId(String rootId) {
        this.rootId = rootId;
    }
}
